<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		  <meta http-equiv="Access-Control-Allow-Origin" content="*">
		<title>千千万能工具箱-思维导图</title>
		<style>
			#mind {
			   height: 550px;
			   /* text-align: center; */
						
			 }
			 body {
			 	overflow-x: hidden;
			 	overflow-y: hidden;
			 }
		</style>
	</head>
	<body>
		<div id="app">
		<div id="mind"></div>
		</div>
				
	
		
		<link
		  rel="stylesheet"
		  href="../js/jsmind/kmsjsmap.min.css"
		/>
		<script src="../js/jquery.min.js"></script>
		<script src="../js/jsmind/kmsjsmap.min.js"></script>



		<script>
			const baseUrl = "https://api.lqcpws.cn"
			
			// console.log(window.treeList)
	 function load(){
			kmsjsmap.init({
			    container: "mind",
			    data: window.treeList,
			    editable: true
			})
		}
	
		
		setTimeout(function(){
			if(window.treeList!=undefined&&window.treeList.length>0){
				load()
			}
				
		},10)
		function  requestCount() {
		  	// let ys=	LZString.compressToBase64(JSON.stringify(nes.toJSON()))
		  	// 	console.log(JSON.parse(LZString.decompressFromBase64(ys)))
		  	let _this = this
		  	$.ajax({
		  		type: 'get',
		  		url: baseUrl + "/pc/requestCountByDay",
		  		success: function(res) {
		  
		  
		  		}
		  
		  
		  	})
		  
		  }
		  requestCount()
		</script>
	</body>
</html>